Total Complexity | 48 |
Dependencies | 5 |
Dependents | 3 |
Total lines | 582 |
Lines of code | 227 |
Logical lines of code | 126 |
Comment lines | 232 |
Methods | 12 |
Properties | 10 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
execute_optimization_command() | 53 | 8 | 24 | |
optimize() | 49 | 7 | 30 | |
optimize_image() | 49 | 6 | 34 | |
get_preview_images() | 50 | 4 | 29 | |
custom_attachment_compression_level_field() | 52 | 4 | 24 | |
custom_attachment_compression_level() | 59 | 4 | 14 | |
reset_images_filesize_meta() | 53 | 3 | 24 | |
delete_backups() | 60 | 3 | 12 | |
resize() | 66 | 3 | 8 | |
prepare_max_width_sizes() | 63 | 3 | 10 | |
get_human_readable_size() | 62 | 2 | 11 | |
restore_originals() | 68 | 1 | 7 |